package com.ebupt.migu.music.userGroup.service;

import com.ebupt.migu.music.common.entity.ResultObject;
import com.ebupt.migu.music.userGroup.entity.UserGroupInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/9/10
 */
public interface FileUploadService {

    /**
     * 文件上传
     * @param fileToUpload
     * @return
     */
    ResultObject uploadCSVFile(MultipartFile fileToUpload);

    /**
     * 删除文件
     * @param params
     * @return
     */
    ResultObject deleteCSVFile(Map<String, Object> params);

    /**
     * 创建用户群
     * @return
     */
    ResultObject createUserGroup(Map<String, Object> map);

    /**
     * 创建重度用户群
     * @return
     */
    ResultObject createValueUserGroup(Map<String, Object> map);

    /**
     * 创建用户生命周期
     * @return
     */
    ResultObject createUserLifeCycle(Map<String, Object> map);
}
